<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/
//Front
$route['default_controller'] = 'front';
$route['avisos/listado'] = 'front/index';
$route['avisos/listado/(:num)'] = 'front/index/$1';
//Administracion-Configuracion.
$route['login'] = 'front/login';
$route['configuracion-general'] = 'admin/config_gral';
$route['configuracion-avisos'] = 'admin/config_adv';
$route['administrar'] = 'admin';
//Clientes
$route['clientes/nuevo'] = 'clientes/index';
$route['clientes/editar/(:num)'] = 'clientes/vieweditclie/$1';
$route['clientes/listado'] = 'clientes/list_clie';
$route['clientes/generar-listado'] = 'clientes/view_filter_clie';
$route['clientes/info/(:num)'] = 'clientes/viewclie/$1';
$route['clientes/doc/(:num)'] = 'fpdfs/resume_clie/$1';
$route['clientes/doc-listado'] = 'fpdfs/filter_resume_clie';
//inmuebles
$route['inmueble/nuevo'] = 'inmueble/index';
$route['inmueble/nuevo-paso2'] = 'inmueble/addinmueble_step2';
$route['inmueble/nuevo-paso3'] = 'inmueble/addinmueble_step3';
$route['inmueble/nuevo-paso-final'] = 'inmueble/addinmueble_step4';
$route['inmueble/info/(:num)'] = 'inmueble/resume_inmu/$1';
$route['inmueble/listado'] = 'inmueble/list_inmu';

$route['404_override'] = '';


/* End of file routes.php */
/* Location: ./application/config/routes.php */